const mongoose = require('mongoose');

// 数据库连接
mongoose.connect('mongodb://106.52.205.179:27017/shop', { useNewUrlParser: true, useCreateIndex: true, useUnifiedTopology: true})
	.then(() => console.log('数据库连接成功'))
	.catch(() => console.log('数据库连接失败'));


